package Test1;
import org.antlr.runtime.*;
public class Tree{
public static void main(String[] args)throws Exception
{
    ANTLRInputStream input = new ANTLRInputStream(System.in);
    ExprTreeLexer lex = new ExprTreeLexer(input);
    CommonTokenStream tokens = new CommonTokenStream(lex);
    ExprTreeParser parser = new ExprTreeParser(tokens);
    try
    {
        parser.prog();
    }
    catch (RecognitionException e)
    {
        e.printStackTrace();
    }
}
}
